<ion-view view-title="新品测试" class="myworld_newpro">
	<!--通过副标题来定位-->
	<div class="bar bar-subheader padding-0">
		<!--描述：顶部模块-->
		<div class="row top">
			<div class="col" on-tap="activeSlide(0)">
				<div ng-class="selectIndex==0?'top-activated':''">进行中</div>
			</div>
			<div class="col" on-tap="activeSlide(1)">
				<div ng-class="selectIndex==1?'top-activated':''">待审批</div>
			</div>
			<div class="col" on-tap="activeSlide(2)">
				<div ng-class="selectIndex==2?'top-activated':''">已结束</div>
			</div>
		</div>
	</div>

<ion-content class="has-header has-subheader" scroll="false">
  <ion-slide-box delegate-handle="main-handle" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">
	<ion-slide>
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
			<!--描述：下拉刷新-->
			<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			 <div class="list list-borderless"  ng-repeat="auction in data.act">
			 	 <li class="item padding-0">
			 	 	 <div class="row padding-0">
		 	 	 	  <div class="col col-30 item-image">
		 	 	 	  	  <img src="img/upload/pro-img01.jpg" />
		 	 	 	  </div>
		 	 	 	  <div class="col col-67">
		 	 	 	  	<p>{{auction.name}}</p>
		 	 	 	  	<p><span class="assertive">市场价：{{auction.goods.mktprice}}</span><span class="right-zhang">测试价格：{{auction.goods.price}}</span></p>
		 	 	 	  	<p><i class="icon ion-clock"></i>{{auction.start_time}}</p>
		 	 	 	    <p><i class="icon ion-clock"></i>{{auction.end_time}}</p>
		 	 	 	  </div>
			 	 	 </div>
			 	 </li>
			 </div>

		<div class="padding">
			<button class="button button-block button-assertive" on-tap="onshow_addtest()"><i class="icon ion-plus"></i>&nbsp;发起测试</button>
		</div>
		<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-scroll>
  </ion-slide>


	<!--描述：新品赠送-->
	<ion-slide>
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
			<!--描述：下拉刷新-->
			<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			  <div class="list list-borderless" ng-repeat="auction in data.act">
			    <li class="item item-thumbnail-left" style="padding-bottom:5px;padding-right: 5px;">
			 	 <img src="img/upload/pro-img01.jpg" />
			 	 <p>{{auction.name}}</p>
			 	 <p>品牌：{{auction.brand_name}}</p>
			 	 <p><span class="assertive">市场价：{{auction.goods.mktprice}}</span><span class="right-zhang">测试价格：{{auction.goods.price}}</span></p>
			     <p><i class="icon ion-compose positive right-zhang font-1rem-my" on-tap="onshow_addtest(auction.act_id)"></i><i class="icon ion-clock"></i>{{auction.start_time}}</p>
		 	 	 <p><i class="icon ion-clock"></i>{{auction.end_time}}</p>
			    </li>
			  </div>
			<!--描述：当用户到达页脚或页脚附近时-->
			<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
		</ion-scroll>
	</ion-slide>


	<!--描述：已结束-->
	<ion-slide>
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
			<!--描述：下拉刷新-->
			<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			  <div class="list list-borderless" ng-repeat="auction in data.act">
			    <li class="item item-thumbnail-left " style="padding-bottom:5px;padding-right: 5px;">
			 	 <img src="img/upload/pro-img01.jpg" />
			 	 <p>{{auction.name}}</p>
			 	 <p>品牌：{{auction.brand_name}}</p>
			 	 <p><span class="assertive">市场价：{{auction.goods.mktprice}}</span><span class="right-zhang">测试价格：{{auction.goods.price}}</span></p>
			   	 <p><i class="icon ion-clock"></i>{{auction.start_time}}</p>
		 	 	 <p><i class="icon ion-clock"></i>{{auction.end_time}}</p>
			     <p>
			    	<span on-tap="onshow_test(2)"><i class="icon ion-bag assertive "></i>抽奖</span>
			    	<span on-tap="onshow_test(3)"><i class="icon ion-ios-book-outline assertive margin-left-10-my"></i>接受问卷</span>
			    	<span on-tap="onshow_statistics_test()"><i class="icon ion-android-options assertive margin-left-10-my"></i>统计</span>
			    </p>
			    </li>
			  </div>
			<!--描述：当用户到达页脚或页脚附近时-->
			<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
		</ion-scroll>
	</ion-slide>
  </ion-slide-box>



  </ion-content>
</ion-view>